#ifndef _Pay_Manager_H_
#define _Pay_Manager_H_

#include <string>

class PayManager
{
public:
	PayManager();
	virtual ~PayManager();

	static PayManager* sharedPayManager();

	void buyProduct(const char* productId, int nCount);
	void askPayDialog(const char* msg, int nCount);
	void payFailed();

	void requestOrderform(const std::string& formstr, int nCount);

	bool isPaying();
	void payed(); 
private:
	bool m_bPaying;
};
#endif